package com.xinyue.game.server;

import com.xinyue.game.service.framwork.GameServiceApplication;
import org.springframework.boot.Banner.Mode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@EnableDiscoveryClient
public class GameServerLaunchMain {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(GameServerLaunchMain.class);
        app.setBannerMode(Mode.LOG);
        ApplicationContext context = app.run(args);
        GameServiceApplication.run(context);
    }
}

